package org.example.springboot01.service;

import org.example.springboot01.pojo.Article;
import org.example.springboot01.pojo.PageBean;

public interface Articleservice {
    void addarticle(Article article);

    PageBean<Article> list(Integer pageNum, Integer pageSize, Integer categoryId, String state);


    Article getarticle(Integer id);

    void updatearticle(Article article);

    void deletearticle(Integer id);
}
